package com.wanmait.wisdom.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/04/02
*/
@Data
@Accessors(chain = true)
public class Admin implements Serializable {
    private Integer id;

    /**
	* 管理员账号
	*/
    private String adminUsername;

    /**
	* 管理员密码
	*/
    private String adminPassword;

    /**
	* 帐号状态
	*/
    private Boolean state;

    /**
     * 权限
     */

    private Integer roleId;

    @TableField(exist = false)
    private AdminRoles adminRoles;

    private static final long serialVersionUID = 1L;
}